-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add GNU_PROPERTY_X86_ISA_1_NEEDED detection #535
Conversation
ISA extensions usage is not defined by a PEP yet. This first implementation fails to repair the wheel if the usage of x86-64-v[2-4] is required. The check can be disabled with `--disable-isa-ext-check`. The detection being related to a declaration when building, it will not detect the requirement for binaries where the declaration is missing. All executables built on a manylinux_2_34 image will be detected as x86-64-v2.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #535 +/- ##
==========================================
+ Coverage 92.05% 92.09% +0.04%
==========================================
Files 20 22 +2
Lines 1321 1543 +222
Branches 248 291 +43
==========================================
+ Hits 1216 1421 +205
- Misses 65 73 +8
- Partials 40 49 +9 ☔ View full report in Codecov by Sentry. |
for more information, see https://pre-commit.ci
@lkollar, would you have time to review this in the coming weeks please ? |
Hey @mayeut, yes, I'll take a look. |
Thanks for the review @lkollar |
ISA extensions usage is not defined by a PEP yet.
This first implementation fails to repair the wheel if the usage of x86-64-v[2-4] is required.
The check can be disabled with
--disable-isa-ext-check
.The detection being related to a declaration when building, it will not detect the requirement for binaries where the declaration is missing.
All executables built on a manylinux_2_34 image will be detected as x86-64-v2.